package com.itasura.prototype;

/**
 * @author sailor wang
 * @date 2020/7/1 10:44 AM
 * @description
 */
public class Main {
    public static void main(String[] args) {
        ShapeContainer.initContainer();

        Shape shape1 = ShapeContainer.getShape("1");
        System.out.println(shape1.getType());

        Shape shape2 = ShapeContainer.getShape("2");
        System.out.println(shape2.getType());

        Shape shape3 = ShapeContainer.getShape("3");
        System.out.println(shape3.getType());
    }
}